Slides: OpenOffice
PowerPoint
Reading: HFJS Ch. 2
Lab
-
Copy the files from chaper 2 on the HeadFirst JavaScript
website
to a new directory under the Labs directory on your thumb drive.
-
Starting from donuts5.html,
create a donuts6.html with the following features:
- add another variety of donut that can be ordered (at 50 cents each),
- allow bagels to be ordered (at 75 cents each)
Following the format for cake and glased donuts include the cost of these two items in the total cost of an order.
- Create a link to donut6.html from the index.html page in your Labs directory.
-
- Create a form somewhere on your
about me
site.
- Use what you have learned in this chapter to verify that the fields on this form have been given plausible values.
- Using FileZilla (or another FTP client), synchronize your website to the image on your thumbdrive.
Always shut down your computer and turn off your display before leaving the lab.